﻿@using AP.Framework.Infrastructure.Repositories
@using AP.Framework.Infrastructure.Database
@{
    ApContext context = new ApContext();
    JobRepository job = new JobRepository(context);
    var jobList = job.GetAll().OrderBy(p => p.Sequence).ToList();
}
@{
    ViewBag.Title = "人才招聘";
    Layout = "~/Views/Shared/_Web960Layout.cshtml";
}
<div class="grid_5">
    <div class="index-sider">
        @Html.Partial("_CompanyNavPartial")
        @Html.Partial("_ContactPartial")
    </div>
</div>
<!-- end .grid_1 -->
<div class="grid_11">
    <div class="index-main">
        <div class="section-wrap index-news">
            <div class="section-title section-mark">
                <em style="color: #1EA4E3">人才招聘</em></div>
            <div class="section-content">
                <table style="width: 100%; padding: 5px; line-height: 30px;">
                    @{
                        foreach (var list in jobList)
                        {
                       
                        <tr>
                            <td style="width: 100%; padding-left: 5px;">
                                <a href="@Url.Action("ViewDetails", "Job", new { area = "", jobId = list.ID })">&gt;&gt;@list.JobName</a>
                            </td>
                            <td style="width: 100px; text-align: right; padding-right: 5px;">
                                <span>@(list.ModifyTime == null ? "" : list.ModifyTime.Value.ToShortDateString())</span>
                            </td>
                        </tr>
                     
                    
                        }  
                        
                    }
                </table>
            </div>
        </div>
    </div>
</div>
<!-- end .grid_15 -->
<div class="clear">
</div>
